#ifndef SETCALCULATEWINDOW_H
#define SETCALCULATEWINDOW_H

#include <QMainWindow>
#include <QPushButton>
#include <QTextEdit>
#include <QRadioButton>
#include <QTextBrowser>
#include <ApplicationManager.h>
#include <QDebug>
#include <QSet>
namespace Ui {
class SetCalculateWindow;
}

class SetCalculateWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit SetCalculateWindow(QWidget *parent = nullptr);
    ~SetCalculateWindow();

private:
    Ui::SetCalculateWindow *ui;
    //切换窗口按钮
    QPushButton* btn_calculator;
    QPushButton* btn_matrix;
    QPushButton* btn_complex;

    //输入框
    QTextEdit* textEdit_s1;
    QTextEdit* textEdit_s2;
    //加 减 乘
    QRadioButton* rbtn_inter;
    QRadioButton* rbtn_union;
    QRadioButton* rbtn_subset;
    //结果展示
    QTextBrowser* textBrowser_result;

    //清空按钮
    QPushButton* btn_clear;
    QPushButton* btn_get;

    //业务处理
    QSet<QString> set1;
    QSet<QString> set2;
    Service service;
};

#endif // SETCALCULATEWINDOW_H
